package entity;

import net.chopinlite.*;
import net.chopinlite.mapping.*;

@Table
public class OrderItem extends Entity {
    @ManyToOne
    private Product product;
    @Column
    private int count;

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
